package org.javaweb.cms_web.model.Enum;

import lombok.Getter;

@Getter
public enum ContentStatus {
    PENDING_REVIEW(0),
    PASSED(1),
    NOT_PASSED(2),
    ;

    private final int code;

    ContentStatus(int value) {
        this.code = value;
    }

    public int getCode() {
        return code;
    }
}
